Beginning ASP.NET 3.5 by Imar Spaanjaars

Beginning ASP.NET 3.5 by Imar Spaanjaars

Author:Imar Spaanjaars
Language: eng
Format: epub
Publisher: Wiley
Published: 2011-03-24T00:00:00+00:00


In addition to this success callback, you could add another one that is triggered when the Web Service somehow fails, for example because the network connection is down or because the service threw an exception. In that case, the call to HelloWorld would look like this:

The ErrorCallback function could then look like this:

The error object that is passed to this method has convenient methods and properties to display information about the exception. As in the example, you use get_message() to get at the original exception that occurred at the server.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.